.header-layout6 .container {
  max-width: 100%;
  padding-left: 2%;
  padding-right: 2%;
}
img.iyatimg {
  filter: brightness(100);
}
.box-title {
  font-size: 18px;
  margin-bottom: 15px !important;
}
.blog-box.style2 {
  height: 350px !important;
}

.blog-img.global-img img {
  height: 350px !important;
  object-fit: cover;
}
a.th-btn.border-btn {
  padding: 15px;
}
.team-card .box-img img {
  height: 200px;
  object-fit: contain;
}

.hero-inner .container {
  max-width: 100%;
}
.iyatimg {
  top: 80px;
  width: 40%;
}
.iyatimg-wrapper {
  position: relative;
}
.iyatimg-wrapper::before {
  content: "(Surah Zumar 39:9)";
  position: absolute;
  top: 150px;
  left: 50%;
  color: #c19b85;
  font-size: 14px;
  z-index: 2;
  transform: translate(-50%, -10%);
}
.hero-inner > * {
  position: relative !important;
  z-index: 2 !important;
}

.hero-inner {
  position: relative !important;
  background-image: url("/User/assets/Media/herobg.webp") !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
}
.hero-inner::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.4)
  ) !important;
  z-index: 1 !important;
}

span.sub-title.highly-qualified-teachers {
  background: #fff;
  border-radius: 20px;
  text-align: center;
  padding: 2px 20px 2px 35px;
}
span.sub-title.highly-qualified-teachers::before {
  left: 12px;
}
h2.sec-title.text-white.qualified-teachers {
  font-size: 50px;
}
.bgpattren1 {
  animation: rotate360 8s infinite linear;
}
.bgpattren2 {
  animation: rotate360 8s infinite linear;
}
.start-learning-btn {
  background-color: #762d2d;
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.jz-cv-card-wrapper {
  margin-top: 50px !important;
}
a.th-btn.th-icon span.btn-text {
  font-weight: 600;
}
.sh-cart-icon {
  transform: translateX(0px) !important;
}
.start-learning-btn:hover {
  background-color: #5e1f1f;
  transform: translateY(-2px);
}
.hero-style4 {
  padding: 195px 0 85px 0;
}
h4.hero-title.slideinup {
  font-size: 25px;
  margin: 0px;
}
p.hero-text.slideinup {
  padding: 0px 25% !important;
  margin-bottom: 0px;
  color: #ffd3a1;
}
.btn-group.justify-content-center.mt-50.slideinup {
  margin-top: 30px;
}
.footer-logo img {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 20px #424242;
}
a#dropdownMenuLink1 {
  color: #000;
}
.courses-img img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
}
h1.hero-title.slideinup {
  font-size: 45px;
  line-height: 60px;
  margin-bottom: 25px;
  width: 85%;
  margin: 0 auto 20px;
}
span.jz-an-sub-title.sub-title {
  font-size: 22px;
}
h2.jz-an-sec-title {
  font-size: 40px !important;
  padding-top: 20px;
}
.teachers-section
  .slider-pagination.white-color.swiper-pagination-fraction.swiper-pagination-horizontal {
  color: #fff !important;
}
.teachers-section button.slider-arrow.default.slider-next {
  border: 1px solid #fff;
}

.teachers-section button.slider-arrow.default.slider-prev {
  border: 1px solid #fff;
}

.teachers-section i.fa-thin.fa-arrow-left-long {
  color: #fff;
}

.teachers-section i.fa-thin.fa-arrow-right-long {
  color: #fff;
}

.jz-an-animated-section {
  overflow: hidden;

  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #fff;

  height: 800px;
}

.jz-an-content-wrapper {
  position: relative;

  width: 100%;

  height: 100%;

  max-width: 1400px;
}

.jz-an-center-content {
  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  text-align: center;

  z-index: 0;
}

.jz-an-center-content h2 {
  font-size: 36px;

  margin-bottom: 10px;

  color: #111;

  font-weight: 600;
}

.jz-an-center-content p {
  font-size: 16px;

  color: #444;

  line-height: 1.6;

  max-width: 500px;

  margin: 0 auto;
}
.jz-an-center-content .bgpattren1 {
  position: absolute;
  left: 35%;
  animation: rotate360 5s infinite linear;
  opacity: 1;
  width: 30%;
  top: -100%;
  opacity: 1;
}

.jz-an-box {
  background: #6e2a2a;
  padding: 20px 25px;
  width: 350px;
  position: absolute;
  border: 2px dashed #ffffff;
  border-radius: 15px;
  z-index: 1;
  height: 270px;
  text-align: center;
  align-content: center;
  box-shadow: 6px 6px 14px rgb(110 42 42 / 40%),
    -6px -6px 14px rgb(110 42 42 / 40%);
  transform: translateY(-3px);
}

.jz-an-box:hover {
  transform: scale(1.03);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

  background: #fffaf9;

  border: 2px dashed #6e2a2a;
}
.jz-an-box:hover.jz-an-box h3,
.jz-an-box:hover.jz-an-box p {
  color: #000;
}
.jz-an-box img {
  background: #fff;
  padding: 10px;
  border-radius: 30px;
  border: 3px dotted #722828;
}
.jz-an-box h3 {
  margin: 5px 0 10px;

  font-size: 23px;

  color: #fff;
}

.jz-an-box p {
  margin: 0;

  font-size: 14px;

  color: #fff;

  line-height: 1.5;
}

.jz-an-box-1,
.jz-an-box-2 {
  left: 47%;

  transform: translateX(-50%);
}

.jz-an-box-3,
.jz-an-box-4 {
  left: 53%;

  transform: translateX(-50%);
}

.jz-an-box-1 {
  top: 43%;
}

.jz-an-box-2 {
  top: 52%;
}

.jz-an-box-3 {
  top: 43%;
}

.jz-an-box-4 {
  top: 52%;
}

section#jz-an-how-it-works .jz-an-center-content h2 {
  font-size: 20px;

  margin-bottom: 0px;
}

.main-menu ul li:has(.sub-menu) > a.dropdown:after {
  transform: rotate(270deg);
}
a.dropdown.mob {
  font-size: 12px;
}
a.dropdown.mob::after {
  display: none !important;
}
.th-mobile-menu ul .th-item-has-children > a.dropdown .th-mean-expand {
  top: 60%;
  font-size: 8px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}
li.courses-mob-dropdowns ul li a {
  font-size: 12px;
}
.jz-cv-card-description {
  backdrop-filter: blur(10px);
  padding: 20px 0px;
  border-radius: 20px 20px 0px 0px;
}

/* Popup background */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

/* Popup content */
.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

/* Image */
.popup-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
}
h2#popupName {
  font-size: 30px;
  margin-bottom: 3px;
}
h4#popupDesig {
  font-size: 20px;
}
.th-team.team-card {
  cursor: pointer;
}
/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cr-heading img {
    padding-bottom: 15px;
}


@media screen and (max-width: 1399px) and (min-width: 1200px) {
  .blog-box.style2 {
    height: 280px !important;
  }

  .blog-img.global-img img {
    height: 280px !important;
    object-fit: cover;
  }

  a.th-btn.border-btn {
    padding: 15px;
  }
  h4.hero-title.slideinup {
    font-size: 20px !important;
  }

  h1.hero-title.slideinup {
    font-size: 35px !important;
    line-height: 50px !important;
  }

  p.hero-text.slideinup {
    font-size: 16px !important;
  }
  .hero-style4 {
    padding: 190px 0 120px 0 !important;
  }
  .box-title {
    font-size: 16px;
    margin-bottom: 15px !important;
  }
  .th-btn {
    font-size: 13px;
    padding: 10px 10px;
    border-radius: 5px;
  }
  header.th-header.header-layout6 .container {
      max-width: 100%;
    padding: 0 1% !important;
  }
  .header-layout6 .main-menu > ul > li {
    margin: 0 5px !important;
  }
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .header-layout6 .main-menu > ul > li > a {
        padding: 0px 0;
        font-size: 14px;
    }
    .header-layout6 .main-menu > ul > li {
        margin: 0 5px;
    }
    header .menu-area> .container> .row> div:nth-child(1) {
        width: 45.5%;
    }
    header .menu-area> .container> .row> div:nth-child(2) {
        width: 24.5%;
        display: flex;
    }
    .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
    }
    header .menu-area> .container> .row> div:nth-child(3) {
        width: 30%;
    }
    .iyatimg-wrapper::before {
      top: 140px;
    }
    .hero-style4 {
        padding: 180px 0 85px 0;
    }
    h1.hero-title.slideinup {
      font-size: 35px;
      line-height: 50px;
      width: 100%;
      margin: 0 auto 20px;
    }
    p.hero-text.slideinup{
      padding: 0px !important;
    }
}
@media screen and (max-width:991px) and (min-width:768px){
      .header-layout6 .th-menu-toggle {
          margin: 0px;
          height: 48px;
          width: 48px;
      }
      .header-logo.logo-shape1.justify-content-center a img {
          width: 115px !important;
      }
      .iyatimg-wrapper::before {
        top: 120px;
      }
      .hero-style4 {
          padding: 160px 0 85px 0;
      }
      .iyatimg {
          top: 65px;
          width: 47%;
      }
      h1.hero-title.slideinup {
        font-size: 30px;
        line-height: 45px;
        width: 100%;
        margin: 0 auto 20px;
      }
      p.hero-text.slideinup{
        padding: 0px !important;
      }
      .bgpattren1 {
          position: absolute;
          left: -220px;
          height: 350px;
          width: 350px;
          bottom: -140px;
          animation: rotate360 5s infinite linear;
          opacity: 0.6;
      }
}
@media (min-width: 849px) {
  .header-main-row {
    align-items: baseline !important;
    max-height: 60px;
    padding-top: 6px;
  }
}
@media (max-width: 767px) {
  .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
   }
   .header-logo.logo-shape1 a {
        margin-top: 0px;
        margin-bottom: 10px;
   }
  .header-layout6 .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  h2.sec-title.text-white.qualified-teachers {
    font-size: 30px !important;
  }
  .team-card .box-img img {
    height: 200px !important;
  }
  .blog-box.style2 {
    height: 250px !important;
  }

  .blog-img.global-img img {
    height: 250px !important;
    object-fit: cover;
  }
  .jz-cv-container {
    flex-direction: column; /* Changed from column-reverse */
    padding: 20px;
    margin-bottom: -50px;
  }

  .jz-cv-right-column {
    order: -1; /* Bring right column to the top */
    position: static !important;
    padding-top: 20px !important;
    margin-bottom: -30px;
  }

  .jz-cv-left-column,
  .jz-cv-right-column {
    flex: 1 !important;
    width: 100% !important;
  }

  .jz-cv-card-contents {
    width: 100% !important;
    height: 300px !important;
  }

  .jz-cv-card-description h1 {
    font-size: 22px !important;
    margin-left: 10px !important;
  }

  h2.jz-an-sec-title {
    font-size: 26px !important;
  }

  .jz-cv-card-description p {
    font-size: 14px !important;
    margin-left: 10px !important;
  }

  .jz-cv-right-column h1 {
    font-size: 28px !important;
    text-align: center;
  }

  .jz-cv-right-column p {
    font-size: 16px !important;
    text-align: center;
  }

  .jz-cv-spacer {
    height: 50px !important;
  }
  .iyatimg {
    top: 25px;
    width: auto;
  }
  .sw-slide1 .hero-inner .container .row {
    background-size: cover !important;
  }
  .hero-style4 {
    padding: 0px 0 0px 0;
  }
  .jz-cv-card-wrapper {
    margin-top: 15px !important;
  }
  h4.hero-title.slideinup {
    font-size: 16px;
    line-height: 20px !important;
    padding-top: 110px;
  }
  h1.hero-title.slideinup {
    font-size: 24px;
    line-height: 35px !important;
    width: 100%;
  }
  p.hero-text.text-center.slideinup {
    padding: 0px !important;
  }
  p.hero-text.slideinup {
    padding: 0px !important;
  }
  .hero-style4 .btn-group {
    margin-bottom: 100px !important;
  }
  .sjz-start-learning {
    display: none !important;
  }
  .team-card .box-img img {
    height: auto;
  }
  .jz-an-center-content .bgpattren1 {
    display: none !important;
  }
  .shc-side-text {
    height: 80vh;
    margin-bottom: -80px;
  }
  section#blog-sec {
    padding: 40px 0px 60px;
  }
  div#swiper-wrapper-2544bd5908c6bb13 {
    margin-bottom: -35px;
  }
  span.sub-title.highly-qualified-teachers {
    font-size: 12px;
  }
  .jz-an-animated-section {
    height: auto;

    padding: 30px 0;
  }

  .jz-an-center-content {
    position: static;

    transform: none;

    margin-bottom: 40px;
  }

  .jz-an-box {
    position: static;

    transform: none !important;

    margin: 20px auto;

    width: 90%;

    text-align: center;

    height: 330px;
  }
  .footer-logo {
    margin-top: -20% !important;
  }
  .bgpattren2{
      right: -100px;
      top: -100px;
  }
  .iyatimg-wrapper::before {
        top: 70px;
  }
}

@media screen and (max-width:767px) and (min-width:480px){
    .iyatimg {
        top: 60px;
        width: 60%;
    }
    .iyatimg-wrapper::before {
        top: 115px;
    }
    .hero-style4 {
        padding: 155px 0 0px 0;
    }
    h4.hero-title.slideinup {
        padding-top: 0px;
    }
    .bgpattren1 {
        position: absolute;
        width: 280px;
    }
}
@media screen and (max-width:549px){
    .iyatimg {
        width: 90%;
    }
}
@media screen and (max-width:380px){
    .iyatimg {
        width: 95%;
    }
    .iyatimg-wrapper::before {
        font-size: 12px;
        text-align: center;
        line-height: 15px;
    }
    .bgpattren1 {
        width: 220px;
    }
    h1.hero-title.slideinup {
        font-size: 20px;
        line-height: 30px !important;
    }
}

body .slider-arrow {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}
